﻿using JobBack.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace JobBack.App_Start
{
    [ValidateInput(false)]
    public abstract class WebViewPage<TModel> : System.Web.Mvc.WebViewPage<TModel>
    {
        public string U = "1111";
        public new UTPrincipal User
        {
            get
            {
                if (base.User == null)
                {
                    return null;
                }
                if (base.User.GetType() != typeof(UTPrincipal))
                {
                    return null;
                }
                return (UTPrincipal)base.User;
            }
        }
    }
    [ValidateInput(false)]
    public abstract class WebViewPage : System.Web.Mvc.WebViewPage<dynamic>
    {

    }
}